package com.wondertek.service.entity.business;

import com.baomidou.mybatisplus.annotation.TableName;
import com.wondertek.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Pattern;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author wangyu
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("room_mode_timed_task")
public class RoomModeTimedTaskPo extends BaseEntity {

    @Schema(name = "id",description = "iD")
    private String id;

    @Schema(name = "taskId",description = "任务id")
    private String taskId;

    @Schema(name = "roomId",description = "分区id")
    private String roomId;

    @Schema(name = "mode",description = "布防模式：'T'-Total外出布防模式,'p1'-Partial1在家布防模式,'D'-撤防")
    private String mode;

    @Schema(name = "time",description = "时间(时分秒) 格式: 22:00:00")
    private String time;

    @Schema(name = "week",description = "星期一2 星期二3 星期三4 星期四5 星期五6 星期六7 星期天1  多个逗号分隔 例: 2,3,4")
    private String week;


}
